package gongju;

import java.util.List;

public class Communtil {


    public static Object[][] toArray(List<Object[]> list){
        Object[][] result = new Object[list.size()][];
        for(int i=0;i<list.size();i++){
            result[i] = list.get(i);
        }
        return result;
    }

    public static boolean isEmpty(String test){
        if(test == null || test.trim().length() == 0){
            return true;
        }
        return false;
    }
}
